<?php

namespace app\api\validate;

use think\Validate;

class ConfigValidate extends Validate{

    protected $rule = [
        'key'    => 'require|in:aboutus',
        'group'  => 'require|in:basic',
    ];

    protected $message = [
        'key'   => '参数错误',
        'group' => '参数错误'
    ];
}